<?php


namespace api\controller;


use common\controller\VerifyController;
use common\service\FDDService;
use think\Request;

class FDDController extends VerifyController
{

    protected $fddService;

    public function __construct()
    {
        parent::__construct();
        $this->fddService = FDDService::getInstance();
    }

    /**
     * 合同签署回调
     * @param Request $request
     * @return \think\Response
     */
    public function contractExtSignCallback(Request $request)
    {

        $res = $this->fddService->contractExtSignAutoCallback($request->post(), $request->get());
        return json(success_response('', $res));

    }
}